﻿<script type="text/javascript">
    $(function () {

        $("div[data-role=content] ul").listview();

    });
</script>


<ul data-role="listview" data-inset="true">
    <li data-role="list-divider" data-theme="b">
        出口计划下达日期:@Html.Raw(ViewBag.dt)
    </li>
    <li>
        <table data-role="table" data-mode="columntoggle" id="table-custom-2" class="ui-responsive table-stroke ui-table ui-table-columntoggle">
            <thead>
            <th>门点</th>
            <th>箱属</th>
            <th>品名</th>
            <th>20GP</th>
            <th>40GP</th>
            <th>备注</th>
            </thead>
            <tbody>
                @{
                    var data = ViewBag.data;
                    for (int i = 0; i < data.Count; i++) {
                        <tr>
                            <td>@(data[i]["Address"].ToString())</td>
                            <td>@(data[i]["CntOwner"] == null ? "" : data[i]["CntOwner"].ToString())</td>
                            <td>@(data[i]["Good"] == null ? "" : data[i]["Good"].ToString())</td>
                            <td>@(data[i]["CntType1"].ToString())</td>
                            <td>@(data[i]["CntType2"].ToString())</td>
                            <td>@(data[i]["Memo"] == null ? "" : data[i]["Memo"].ToString())</td>
                        </tr>
                    }
                }
            </tbody>
        </table>
    </li>
</ul>